package com.ruoyi.customer.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * CsBomInfo对象 cs_bom_info
 *
 * @author 李守壮
 * @date 2025-09-03
 */
public class CsBomInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一主键ID */
    private Long id;

    /** 模具编号 */
    @Excel(name = "模具编号")
    private String moldNumber;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 客户简称 */
    @Excel(name = "客户简称")
    private String customerNickName;

    /** 材质 */
    @Excel(name = "材质")
    private String material;

    /** 料宽步距料厚（mm） */
    @Excel(name = "料宽步距料厚")
    private String widthStepThickness;

    /** 产品外形尺寸 (长 x宽x高, mm )  */
    @Excel(name = "产品外形尺寸 (长 x宽x高, mm ) ")
    private String productDimensions;

    /** 物料号 -图号（客户） */
    @Excel(name = "物料号 -图号")
    private String drawingNumber;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 工程师 */
    @Excel(name = "工程师")
    private String engineer;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String customerNo;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;


    /** 标准产能 ( pcs / h )  */
    @Excel(name = "标准产能 ( pcs / h ) ")
    private Long standardCapacity;

    /** 电镀 */
    @Excel(name = "电镀")
    private String plating;

    /** 包装方式 */
    @Excel(name = "包装方式")
    private String packaging;

    /** 模具类型，连续模 */
    @Excel(name = "模具类型，连续模")
    private String moldType;

    /** 吸塑盘规格 */
    @Excel(name = "吸塑盘规格")
    private String vacuumTray;

    /** 供应商 */
    @Excel(name = "供应商")
    private String manufacturer;

    /** 单价（不含税） */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 删除标志（0存在 2删除） */
//    @Excel(name = "删除标志", readConverterExp = "0=存在,2=删除")
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMoldNumber(String moldNumber)
    {
        this.moldNumber = moldNumber;
    }

    public String getMoldNumber()
    {
        return moldNumber;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setCustomerNickName(String customerNickName)
    {
        this.customerNickName = customerNickName;
    }

    public String getCustomerNickName()
    {
        return customerNickName;
    }
    public void setMaterial(String material)
    {
        this.material = material;
    }

    public String getMaterial()
    {
        return material;
    }
    public void setWidthStepThickness(String widthStepThickness)
    {
        this.widthStepThickness = widthStepThickness;
    }

    public String getWidthStepThickness()
    {
        return widthStepThickness;
    }
    public void setProductDimensions(String productDimensions)
    {
        this.productDimensions = productDimensions;
    }

    public String getProductDimensions()
    {
        return productDimensions;
    }
    public void setDrawingNumber(String drawingNumber)
    {
        this.drawingNumber = drawingNumber;
    }

    public String getDrawingNumber()
    {
        return drawingNumber;
    }
    public void setEngineer(String engineer)
    {
        this.engineer = engineer;
    }

    public String getEngineer()
    {
        return engineer;
    }
    public void setCustomerNo(String customerNo)
    {
        this.customerNo = customerNo;
    }

    public String getCustomerNo()
    {
        return customerNo;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setProductCode(String productCode)
    {
        this.productCode = productCode;
    }

    public String getProductCode()
    {
        return productCode;
    }
    public void setStandardCapacity(Long standardCapacity)
    {
        this.standardCapacity = standardCapacity;
    }

    public Long getStandardCapacity()
    {
        return standardCapacity;
    }
    public void setPlating(String plating)
    {
        this.plating = plating;
    }

    public String getPlating()
    {
        return plating;
    }
    public void setPackaging(String packaging)
    {
        this.packaging = packaging;
    }

    public String getPackaging()
    {
        return packaging;
    }
    public void setMoldType(String moldType)
    {
        this.moldType = moldType;
    }

    public String getMoldType()
    {
        return moldType;
    }
    public void setVacuumTray(String vacuumTray)
    {
        this.vacuumTray = vacuumTray;
    }

    public String getVacuumTray()
    {
        return vacuumTray;
    }
    public void setManufacturer(String manufacturer)
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer()
    {
        return manufacturer;
    }


    public void setUnitPrice(BigDecimal unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice()
    {
        return unitPrice;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("moldNumber", getMoldNumber())
                .append("productName", getProductName())
                .append("customerNickName", getCustomerNickName())
                .append("material", getMaterial())
                .append("widthStepThickness", getWidthStepThickness())
                .append("productDimensions", getProductDimensions())
                .append("drawingNumber", getDrawingNumber())
                .append("productCode", getProductCode())
                .append("engineer", getEngineer())
                .append("customerNo", getCustomerNo())
                .append("customerName", getCustomerName())
                .append("standardCapacity", getStandardCapacity())
                .append("plating", getPlating())
                .append("packaging", getPackaging())
                .append("moldType", getMoldType())
                .append("vacuumTray", getVacuumTray())
                .append("manufacturer", getManufacturer())
                .append("unitPrice", getUnitPrice())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
